package com.alks.entity.data.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_MTL_CHECK")
@ApiModel(value = "PcMtlCheck对象", description = "")
public class PcMtlCheck implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "primaryId")
    private Integer primaryId;

    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "送货日期")
    private LocalDateTime sendDate;

    @ApiModelProperty(value = "订购单号")
    private String purNo;

    @ApiModelProperty(value = "厂商ID")
    private String vendorNo;

    @ApiModelProperty(value = "材料ID")
    private String mtlNo;

    @ApiModelProperty(value = "材料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "材料")
    private String mtlName;

    @ApiModelProperty(value = "规格")
    private String mtlSpec;

    @ApiModelProperty(value = "单位")
    private String mtlUnit;

    @ApiModelProperty(value = "送货数量")
    private BigDecimal sendQty;

    @ApiModelProperty(value = "退货数量")
    private BigDecimal returnQty;

    @ApiModelProperty(value = "暂收数量")
    private BigDecimal acceptQty;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime sysDate;

    @ApiModelProperty(value = "仓管员")
    private String sysUser;

    private String recFlag;

    private String aReason;

    private String aMemo;

    private String pReason;

    private String pMemo;

    private String checkType;

    private BigDecimal checkPercent;

    @TableField(value = "QUALITY_1")
    private BigDecimal quality1;

    @TableField(value = "QUALITY_2")
    private BigDecimal quality2;

    @TableField(value = "QUALITY_3")
    private BigDecimal quality3;

    private String aCheckFlag;

    private String pCheckFlag;
    
    
    private LocalDateTime aCheckDate;

    private String aCheckUser;
    
    
    private LocalDateTime pCheckDate;

    private String pCheckUser;

    @ApiModelProperty(value = "入库单号")
    private String recNo;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    private BigDecimal kgQty;

    @ApiModelProperty(value = "仓管备注")
    private String remark;

    @ApiModelProperty(value = "入库日期")
    private LocalDateTime recDate;

    @ApiModelProperty(value = "金额")
    private BigDecimal amt;

    private String returnNo;
    
    
    private LocalDateTime returnDate;

    @ApiModelProperty(value = "厂商名字")
    private String vendorName;

    @ApiModelProperty(value = "指令")
    private String lotDetail;

    private String transferWh;

    private BigDecimal dyedFee;

    private String mtlSpec2;

    private BigDecimal sendQty2;

    private String cfmFlag;

    private LocalDateTime cfmDate;

    private String cfmUser;

    private String returnCfmFlag;
    
    
    private LocalDateTime returnCfmDate;

    private String returnCfmUser;

    @ApiModelProperty(value = "财务备注")
    private String financeRecMemo;

    private String financeRetMemo;

    private BigDecimal returnKgQty;

    private BigDecimal returnAmt;

    @ApiModelProperty(value = "对账月份")
    private String financeRecYymm;

    private String financeRetYymm;

    private BigDecimal returnDyedFee;

    private String reqNo;

    private BigDecimal okQty;

    @ApiModelProperty(value = "对账标志位")
    private String financeCfmFlag;

    @ApiModelProperty(value = "对账人")
    private String financeCfmUser;

    @ApiModelProperty(value = "形体")
    private String purStyle;

    private String purLot;

    @ApiModelProperty(value = "送货单号")
    private String sendNo;

    private String checkNo;
    
    
    private LocalDateTime checkSendDate;

    @ApiModelProperty(value = "对账时间")
    private LocalDateTime financeCfmDate;

    @ApiModelProperty(value = "对账方式")
    private String accountName;

    @ApiModelProperty(value = "对账单号")
    private String balanceNo;

    @ApiModelProperty(value = "单据类型")
    private String slipType;


}
